package o;

import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView.ItemAnimator;
import androidx.recyclerview.widget.RecyclerView.ItemAnimator.c;
import androidx.recyclerview.widget.RecyclerView.s;

public abstract class mt extends ItemAnimator {
    boolean ʻ = true;

    public abstract boolean ˋ(s sVar);

    public abstract boolean ˎ(s sVar);

    public abstract boolean ˏ(s sVar, int i, int i2, int i3, int i4);

    public abstract boolean ˏ(s sVar, s sVar2, int i, int i2, int i3, int i4);

    public void ˊ(boolean z) {
        this.ʻ = z;
    }

    public boolean ॱॱ(@NonNull s sVar) {
        return !this.ʻ || sVar.ॱˊ();
    }

    public boolean ˏ(@NonNull s sVar, @NonNull c cVar, @Nullable c cVar2) {
        int i = cVar.ˏ;
        int i2 = cVar.ˊ;
        View view = sVar.ˊ;
        int left = cVar2 == null ? view.getLeft() : cVar2.ˏ;
        int top = cVar2 == null ? view.getTop() : cVar2.ˊ;
        if (sVar.ʻॱ() || (i == left && i2 == top)) {
            return ˎ(sVar);
        }
        view.layout(left, top, view.getWidth() + left, view.getHeight() + top);
        return ˏ(sVar, i, i2, left, top);
    }

    public boolean ˊ(@NonNull s sVar, @Nullable c cVar, @NonNull c cVar2) {
        if (cVar == null || (cVar.ˏ == cVar2.ˏ && cVar.ˊ == cVar2.ˊ)) {
            return ˋ(sVar);
        }
        return ˏ(sVar, cVar.ˏ, cVar.ˊ, cVar2.ˏ, cVar2.ˊ);
    }

    public boolean ˋ(@NonNull s sVar, @NonNull c cVar, @NonNull c cVar2) {
        if (cVar.ˏ == cVar2.ˏ && cVar.ˊ == cVar2.ˊ) {
            ʼ(sVar);
            return false;
        }
        return ˏ(sVar, cVar.ˏ, cVar.ˊ, cVar2.ˏ, cVar2.ˊ);
    }

    public boolean ˋ(@NonNull s sVar, @NonNull s sVar2, @NonNull c cVar, @NonNull c cVar2) {
        int i;
        int i2;
        int i3 = cVar.ˏ;
        int i4 = cVar.ˊ;
        if (sVar2.G_()) {
            i = cVar.ˏ;
            i2 = cVar.ˊ;
        } else {
            i = cVar2.ˏ;
            i2 = cVar2.ˊ;
        }
        return ˏ(sVar, sVar2, i3, i4, i, i2);
    }

    public final void ʻ(s sVar) {
        ॱᐝ(sVar);
        ʽ(sVar);
    }

    public final void ʼ(s sVar) {
        ॱˎ(sVar);
        ʽ(sVar);
    }

    public final void ॱˊ(s sVar) {
        ʻॱ(sVar);
        ʽ(sVar);
    }

    public final void ॱ(s sVar, boolean z) {
        ˎ(sVar, z);
        ʽ(sVar);
    }

    public final void ˋॱ(s sVar) {
        ͺ(sVar);
    }

    public final void ˊॱ(s sVar) {
        ॱˋ(sVar);
    }

    public final void ˏॱ(s sVar) {
        ᐝॱ(sVar);
    }

    public final void ˊ(s sVar, boolean z) {
        ˏ(sVar, z);
    }

    public void ͺ(s sVar) {
    }

    public void ॱᐝ(s sVar) {
    }

    public void ᐝॱ(s sVar) {
    }

    public void ʻॱ(s sVar) {
    }

    public void ॱˋ(s sVar) {
    }

    public void ॱˎ(s sVar) {
    }

    public void ˏ(s sVar, boolean z) {
    }

    public void ˎ(s sVar, boolean z) {
    }
}
